package com.guozcc.bootweb.demo.pojo;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class XszJdkxZbtj implements Serializable {
    /**
     * 统计时间
     */
    private Date tjDate;

    /**
     * 全行总人数
     */
    private Integer qhzrs;

    /**
     * 登录人数
     */
    private Integer dlrs;

    /**
     * 访问人数
     */
    private Integer fwrs;

    /**
     * 公开公示信息发布数
     */
    private Integer gkgsxxfb;

    /**
     * 投诉举报受理数
     */
    private Integer tsjbsl;

    /**
     * 投诉举报受理办结数
     */
    private Integer tsjbslEnd;

    /**
     * 检举控告数
     */
    private Integer jjkk;

    /**
     * 转分行职能部门处理的检举控告数
     */
    private Integer jjkkZf;

    /**
     * 直接办结检举控告数
     */
    private Integer jjkkEnd;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        XszJdkxZbtj other = (XszJdkxZbtj) that;
        return (this.getTjDate() == null ? other.getTjDate() == null : this.getTjDate().equals(other.getTjDate()))
            && (this.getQhzrs() == null ? other.getQhzrs() == null : this.getQhzrs().equals(other.getQhzrs()))
            && (this.getDlrs() == null ? other.getDlrs() == null : this.getDlrs().equals(other.getDlrs()))
            && (this.getFwrs() == null ? other.getFwrs() == null : this.getFwrs().equals(other.getFwrs()))
            && (this.getGkgsxxfb() == null ? other.getGkgsxxfb() == null : this.getGkgsxxfb().equals(other.getGkgsxxfb()))
            && (this.getTsjbsl() == null ? other.getTsjbsl() == null : this.getTsjbsl().equals(other.getTsjbsl()))
            && (this.getTsjbslEnd() == null ? other.getTsjbslEnd() == null : this.getTsjbslEnd().equals(other.getTsjbslEnd()))
            && (this.getJjkk() == null ? other.getJjkk() == null : this.getJjkk().equals(other.getJjkk()))
            && (this.getJjkkZf() == null ? other.getJjkkZf() == null : this.getJjkkZf().equals(other.getJjkkZf()))
            && (this.getJjkkEnd() == null ? other.getJjkkEnd() == null : this.getJjkkEnd().equals(other.getJjkkEnd()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTjDate() == null) ? 0 : getTjDate().hashCode());
        result = prime * result + ((getQhzrs() == null) ? 0 : getQhzrs().hashCode());
        result = prime * result + ((getDlrs() == null) ? 0 : getDlrs().hashCode());
        result = prime * result + ((getFwrs() == null) ? 0 : getFwrs().hashCode());
        result = prime * result + ((getGkgsxxfb() == null) ? 0 : getGkgsxxfb().hashCode());
        result = prime * result + ((getTsjbsl() == null) ? 0 : getTsjbsl().hashCode());
        result = prime * result + ((getTsjbslEnd() == null) ? 0 : getTsjbslEnd().hashCode());
        result = prime * result + ((getJjkk() == null) ? 0 : getJjkk().hashCode());
        result = prime * result + ((getJjkkZf() == null) ? 0 : getJjkkZf().hashCode());
        result = prime * result + ((getJjkkEnd() == null) ? 0 : getJjkkEnd().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tjDate=").append(tjDate);
        sb.append(", qhzrs=").append(qhzrs);
        sb.append(", dlrs=").append(dlrs);
        sb.append(", fwrs=").append(fwrs);
        sb.append(", gkgsxxfb=").append(gkgsxxfb);
        sb.append(", tsjbsl=").append(tsjbsl);
        sb.append(", tsjbslEnd=").append(tsjbslEnd);
        sb.append(", jjkk=").append(jjkk);
        sb.append(", jjkkZf=").append(jjkkZf);
        sb.append(", jjkkEnd=").append(jjkkEnd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}